import { Injectable } from '@angular/core';

import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';

import {RequestReplyService} from '../services/request-reply.service'
import {Calendar, Params} from '../entity/Calendar';


@Injectable({
  providedIn: 'root'
})
export class CalendarService {
  
  
 
  constructor(private request: RequestReplyService) { }

  getCalendar (params: Params) : Observable<Calendar> {
    return this.request.GetCalendar(params);
  }

  

}
